<?php
/**
 * 响应式typecho主题Thug
 * @package Thug
 * @author HIAI博客
 * @version 1.0
 * @link http://www.hiai.top
 */
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
 $this->need('header.php');?>
<section class="hero accent parallax" style="background-image: url(<?php $this->options->themeUrl('images/parallax.jpg'); ?>);">
	<div class="hero-content container">
        <?php if (!empty($this->options->blogMesg)): ?>
		  <h1><?php $this->options->blogMesg(); ?></h1>
        <?php else: ?>
            <h1>知识改变命运</h1>
        <?php endif; ?>
	</div>
</section>
<div class="content container">
    <div class="row">
        <div class="col-sm-8">
            <?php if ($this->have()): ?>
            <?php while($this->next()): ?>
            <div class="post image">	<span class="date"><?php $this->date('d'); ?><br><small><?php $this->date('M'); ?></small></span>
                <div class="post-title">
                    <h2><a itemtype="url" href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
                </div>
                <div class="post-body">
                    <p class="note"><?php $this->excerpt(111, '...'); ?></p>
                   
                </div>
            </div>
            <?php endwhile; ?>
            <?php else: ?>
            <div class="post image">
                <h3 class="post-title"><?php _e('没有找到内容'); ?></h3>
            </div>
            <?php endif; ?>
            <div class="type-post" id="pagination">
                <?php $this->pageNav('&laquo; 前一页', '后一页 &raquo;'); ?></div>
        </div>
        <?php $this->need('sidebar.php'); ?></div>
</div>
</div>
 <?php $this->need('footer.php'); ?>